Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix docker installation #401

Draft
wants to merge 4 commits into
base: cesar/migrateToPhp8
Choose a base branch
from

Conversation

ppom0
Copy link
Contributor

@ppom0 ppom0 commented Sep 29, 2022

All those steps and tweaks permit to have a working Docker installation out of the box, following the (updated) documentation instructions.²

@ppom0 ppom0 marked this pull request as draft September 29, 2022 16:30
docker-compose.yml Outdated Show resolved Hide resolved
Comment on lines +10 to +15
DB_CONNECTION=mysql
DB_HOST=database
DB_PORT=3306
DB_DATABASE=portail
DB_USERNAME=portail
DB_PASSWORD=portail
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pourquoi ? C'est des valeurs fixes car uniquement utilisées pour du dev local, pas besoin de les modifier. Elles devraient rester en dur dans le docker-compose

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Je crois que c'est un paramètre qu'il faut préciser à la fois sous cette forme pour le portail…

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Je peux mettre celui-ci dans docker-compose aussi stu veux

Comment on lines 54 to 57
- MYSQL_ROOT_PASSWORD=portail
- MYSQL_USER=portail
- MYSQL_PASSWORD=portail
- MYSQL_DATABASE=portail
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CF les ENV plus haut, en plus ca n'a pas l'air utilisé, si ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

… et sous celui-ci pour mysql.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants